import request from '@/utils/request'

// 新增结算单明细
export function itemSave(data) {
  return request({
    url: '/business/item',
    method: 'post',
    data: data
  })
}


// 查询结算单明细集合列表
export function getstatementItemList(statementId) {
  return request({
    url: '/business/item?statementId='+statementId,
    method: 'get',
    
  })
}

// 结算单支付功能
export function pay(data) {
  return request({
    url: '/business/item',
    method: 'patch',
    data: data,
    headers:{'cmd':'pay'}
  })
}